package com.demo1;

/**
 * Created by Administrator on 2017/3/25.
 */
public class SuanShu {
    public static void main(String[] args) {
        int i1 = 7;
        int i2 = 3;
        int jia = i1 + i2;
        int jian = i1 - i2;
        int cheng = i1 * i2;
        int chu = i1 / i2;
        int yu = i1 % i2;
        System.out.println("进行加运算的结果是" + jia);
        System.out.println("进行减运算的结果是" + jian);
        System.out.println("进行乘运算的结果是" + cheng);
        System.out.println("进行除运算的结果是" + chu);
        System.out.println("进行取余运算的结果是" + yu);
    }
}
